package ird.demo.service;

import ird.demo.domain.Transaction;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

public interface TranService {
	public List<Transaction> findAllTran();
	
	public Page<Transaction> findPageTran(PageRequest request);

	public Transaction findTranById(String pk);

	public List<Transaction> findTranInMenuByUsrGrp(String usrGrp);
	
	public List<Transaction> findTranInByMenuId(String menuId);
	
	public List<Transaction> findTranByTranGrp(String tranGrp);
	
	public void saveTran(Transaction tran);
	
	public void delTran(String tranId);
	
}
